package jester;

import java.io.IOException;

import polarizedMF.Step0_TraditionalMF;
import data.MatrixSize;
import data.Param;

public class Step0_TraditionalMF_jester {

	/**
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		MatrixSize size = new MatrixSize(73421, 100);
		Param param = new Param((byte) 5, 0.02, 0.02);
		String[] folds = { "1", "2", "3", "4", "5" };
		double[] normalRMSE = new double[5];
		double[] idealRMSE = new double[5];

		for (int i = 0; i < 5; i++) {
			Step0_TraditionalMF step0 = new Step0_TraditionalMF(
					"D:\\Jester Dataset\\", 0.0, folds[i], size, param);
			normalRMSE[i] = step0.getNormalRMSE();
			idealRMSE[i] = step0.getIdealRMSE();
		}

		// WriteRMSEToExcel writeToExcel = new WriteRMSEToExcel(normalRMSE,
		// idealRMSE);
	}
}
